﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_ProfitCenter : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_ProfitCenter", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_ProfitCenter", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_ProfitCenter", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_ProfitCenter", "UserName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("TW_ProfitCenter", "Department");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("TW_ProfitCenter", "UserFullName");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("TW_ProfitCenter", "ApplicationNo");
        [Column]
        public string Actions { get { return _Actions; } set { _Actions = value; EntityState.FieldChange("Actions"); } } private string _Actions; public static FieldInfo actions = new FieldInfo("TW_ProfitCenter", "Actions");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("TW_ProfitCenter", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("TW_ProfitCenter", "DMO_DrpPriority");

        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("TW_ProfitCenter", "VD_Checked");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("TW_ProfitCenter", "SA_Checked");
        [Column]
        public string IS_CO_Area { get { return _IS_CO_Area; } set { _IS_CO_Area = value; EntityState.FieldChange("IS_CO_Area"); } } private string _IS_CO_Area; public static FieldInfo iS_CO_Area = new FieldInfo("TW_ProfitCenter", "IS_CO_Area");
        [Column]
        public string IS_Profit_Center { get { return _IS_Profit_Center; } set { _IS_Profit_Center = value; EntityState.FieldChange("IS_Profit_Center"); } } private string _IS_Profit_Center; public static FieldInfo iS_Profit_Center = new FieldInfo("TW_ProfitCenter", "IS_Profit_Center");
        [Column]
        public string RE_Profit_Center { get { return _RE_Profit_Center; } set { _RE_Profit_Center = value; EntityState.FieldChange("RE_Profit_Center"); } } private string _RE_Profit_Center; public static FieldInfo rE_Profit_Center = new FieldInfo("TW_ProfitCenter", "RE_Profit_Center");
        [Column]
        public string RE_CO_Area { get { return _RE_CO_Area; } set { _RE_CO_Area = value; EntityState.FieldChange("RE_CO_Area"); } } private string _RE_CO_Area; public static FieldInfo rE_CO_Area = new FieldInfo("TW_ProfitCenter", "RE_CO_Area");
        [Column]
        public string Vaild_From { get { return _Vaild_From; } set { _Vaild_From = value; EntityState.FieldChange("Vaild_From"); } } private string _Vaild_From; public static FieldInfo vaild_From = new FieldInfo("TW_ProfitCenter", "Vaild_From");
        [Column]
        public string Vaild_To { get { return _Vaild_To; } set { _Vaild_To = value; EntityState.FieldChange("Vaild_To"); } } private string _Vaild_To; public static FieldInfo vaild_To = new FieldInfo("TW_ProfitCenter", "Vaild_To");
        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } } private string _Name; public static FieldInfo name = new FieldInfo("TW_ProfitCenter", "Name");
        [Column]
        public string Long_Text { get { return _Long_Text; } set { _Long_Text = value; EntityState.FieldChange("Long_Text"); } } private string _Long_Text; public static FieldInfo long_Text = new FieldInfo("TW_ProfitCenter", "Long_Text");
        [Column]
        public string User_Respinsible { get { return _User_Respinsible; } set { _User_Respinsible = value; EntityState.FieldChange("User_Respinsible"); } } private string _User_Respinsible; public static FieldInfo user_Respinsible = new FieldInfo("TW_ProfitCenter", "User_Respinsible");
        [Column]
        public string Person_Responsible { get { return _Person_Responsible; } set { _Person_Responsible = value; EntityState.FieldChange("Person_Responsible"); } } private string _Person_Responsible; public static FieldInfo person_Responsible = new FieldInfo("TW_ProfitCenter", "Person_Responsible");
        [Column]
        public string Profit_Department { get { return _Profit_Department; } set { _Profit_Department = value; EntityState.FieldChange("Profit_Department"); } } private string _Profit_Department; public static FieldInfo profit_Department = new FieldInfo("TW_ProfitCenter", "Profit_Department");
        [Column]
        public string Profit_Center { get { return _Profit_Center; } set { _Profit_Center = value; EntityState.FieldChange("Profit_Center"); } } private string _Profit_Center; public static FieldInfo profit_Center = new FieldInfo("TW_ProfitCenter", "Profit_Center");
        [Column]
        public string Lock_Indicator { get { return _Lock_Indicator; } set { _Lock_Indicator = value; EntityState.FieldChange("Lock_Indicator"); } } private string _Lock_Indicator; public static FieldInfo lock_Indicator = new FieldInfo("TW_ProfitCenter", "Lock_Indicator");
        [Column]
        public string Company_Code { get { return _Company_Code; } set { _Company_Code = value; EntityState.FieldChange("Company_Code"); } } private string _Company_Code; public static FieldInfo company_Code = new FieldInfo("TW_ProfitCenter", "Company_Code");
        [Column]
        public string Assigned { get { return _Assigned; } set { _Assigned = value; EntityState.FieldChange("Assigned"); } } private string _Assigned; public static FieldInfo assigned = new FieldInfo("TW_ProfitCenter", "Assigned");
        [Column]
        public string Center_Group_CO_Area { get { return _Center_Group_CO_Area; } set { _Center_Group_CO_Area = value; EntityState.FieldChange("Center_Group_CO_Area"); } } private string _Center_Group_CO_Area; public static FieldInfo center_Group_CO_Area = new FieldInfo("TW_ProfitCenter", "Center_Group_CO_Area");
        [Column]
        public string Profit_Center_Group { get { return _Profit_Center_Group; } set { _Profit_Center_Group = value; EntityState.FieldChange("Profit_Center_Group"); } } private string _Profit_Center_Group; public static FieldInfo profit_Center_Group = new FieldInfo("TW_ProfitCenter", "Profit_Center_Group");
        [Column]
        public string Copy_Profit_Center_Group { get { return _Copy_Profit_Center_Group; } set { _Copy_Profit_Center_Group = value; EntityState.FieldChange("Copy_Profit_Center_Group"); } } private string _Copy_Profit_Center_Group; public static FieldInfo copy_Profit_Center_Group = new FieldInfo("TW_ProfitCenter", "Copy_Profit_Center_Group");
        [Column]
        public string Copy_CO_Area { get { return _Copy_CO_Area; } set { _Copy_CO_Area = value; EntityState.FieldChange("Copy_CO_Area"); } } private string _Copy_CO_Area; public static FieldInfo copy_CO_Area = new FieldInfo("TW_ProfitCenter", "Copy_CO_Area");
        [Column]
        public string Center_Group_Name { get { return _Center_Group_Name; } set { _Center_Group_Name = value; EntityState.FieldChange("Center_Group_Name"); } } private string _Center_Group_Name; public static FieldInfo center_Group_Name = new FieldInfo("TW_ProfitCenter", "Center_Group_Name");
        [Column]
        public string Center_Group_Name_1 { get { return _Center_Group_Name_1; } set { _Center_Group_Name_1 = value; EntityState.FieldChange("Center_Group_Name_1"); } } private string _Center_Group_Name_1; public static FieldInfo center_Group_Name_1 = new FieldInfo("TW_ProfitCenter", "Center_Group_Name_1");
        [Column]
        public string Center_Group_Name_2 { get { return _Center_Group_Name_2; } set { _Center_Group_Name_2 = value; EntityState.FieldChange("Center_Group_Name_2"); } } private string _Center_Group_Name_2; public static FieldInfo center_Group_Name_2 = new FieldInfo("TW_ProfitCenter", "Center_Group_Name_2");
        [Column]
        public string Center_Group_Name_3 { get { return _Center_Group_Name_3; } set { _Center_Group_Name_3 = value; EntityState.FieldChange("Center_Group_Name_3"); } } private string _Center_Group_Name_3; public static FieldInfo center_Group_Name_3 = new FieldInfo("TW_ProfitCenter", "Center_Group_Name_3");
        [Column]
        public string Center_Group_Name_4 { get { return _Center_Group_Name_4; } set { _Center_Group_Name_4 = value; EntityState.FieldChange("Center_Group_Name_4"); } } private string _Center_Group_Name_4; public static FieldInfo center_Group_Name_4 = new FieldInfo("TW_ProfitCenter", "Center_Group_Name_4");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_ProfitCenter", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_ProfitCenter", "Status");

    }
}
